Hey, before you go onto a cooler solve, I've recently finished a little tool for everyone:

https://erikhaag.github.io/OpusMagnumStoichiometry/

You're welcome!